<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <p><label th:text="#{login.username}"></label>：<input type="text" name="username" /></p>
    <p><label th:text="#{login.password}"></label>: <input type="text" name="password" /></p>
    <p><input type="submit" value="login" th:attr="value=#{login.login}"/></p>
</div>
</body>
</html>